import turtle

mama = turtle.Turtle()
def figure(x, y, size):
    mama.penup()
    mama.setpos(-200 + x, 200 - y)
    mama.pendown()
    mama.color("blue")
    mama.fillcolor("blue")
    mama.begin_fill()
    mama.left(90)
    mama.forward(size)
    mama.right(90)
    mama.forward(size)
    mama.left(90)
    mama.forward(size)
    mama.right(90)
    mama.forward(size)
    mama.right(90)
    mama.forward(size)
    mama.left(90)
    mama.forward(size)
    mama.right(90)
    mama.forward(size)
    mama.right(90)
    mama.forward(3 * size)
    mama.end_fill()
    
screen = turtle.Screen()
screen.screensize(1000, 1000, bg="yellow")
s = 25
x=int(input())
y=int(input())
t=int(input())
figure(x, x, t * s)
